package com.zhihuishu.micro.course.openapi.app.teacher;

import java.util.List;

import com.zhihuishu.micro.course.openapi.app.dto.WonderVideoOpenDto;
import com.zhihuishu.remote.RemoteException;
import com.zhihuishu.remote.RemoteResult;

/**
 * 课程精彩视频信息
 * @author yulijin
 *
 */
public interface WonderVideoOpenService {
	/**
	 * 保存课程精彩视频
	 * @Description:TODO
	 * @author:yulijin
	 */
	RemoteResult<WonderVideoOpenDto> save(WonderVideoOpenDto wonderVideoOpenDto) throws RemoteException;
	/**
	 * 修改课程精彩视频
	 * @Description:TODO
	 * @author:yulijin
	 */
	RemoteResult<Void> update(WonderVideoOpenDto wonderVideoOpenDto) throws RemoteException;
	/**
	 * 删除课程精彩视频
	 * @Description:TODO
	 * @author:yulijin
	 */
	RemoteResult<Void> remove(Long wonderVideoId) throws RemoteException;
	/**
	 * 根据id查询精彩视频
	 * @author yulijin
	 * @date 2016年12月15日 上午9:40:47 
	 * @param courseId
	 * @return
	 */
	RemoteResult<WonderVideoOpenDto> findWonderVideo(Long wonderVideoId) throws RemoteException;
	/**
	 * 根据courseId查询精彩视频
	 * @param courseId
	 * @return
	 */
	RemoteResult<List<WonderVideoOpenDto>> findWonderVideosByCourseId(Long courseId) throws RemoteException;
	
	
}
